package cn.lanqiao.system.service;

import cn.lanqiao.system.dao.MenuMapper;
import cn.lanqiao.system.entity.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuService {

    @Autowired
    MenuMapper menuMapper;

    public List<Menu> getMenuList(){
        return  menuMapper.selectAll();
    }
}
